package com.lenovo.leos.letools.db;

import java.util.List;
import java.util.Map;

/**
 * 上传或下载任务实体
 * @author Administrator
 *
 */
public class AllUploadTaskEntity {

	/** 所有文件任务集合 **/
	private List<FileUploadEntity> fileTasks;
	/** 所有文件夹任务集合  key为文件夹顶层全路径  value为此目录下所有文件任务集合**/
	private Map<String,List<FileUploadEntity>> dirTasks;
	
	public AllUploadTaskEntity(){}
	
	public AllUploadTaskEntity(List<FileUploadEntity> fileTasks, Map<String,List<FileUploadEntity>> dirTasks){
		this.fileTasks = fileTasks;
		this.dirTasks = dirTasks;
	}
	
	public List<FileUploadEntity> getFileTasks() {
		return fileTasks;
	}
	public void setFileTasks(List<FileUploadEntity> fileTasks) {
		this.fileTasks = fileTasks;
	}
	public Map<String, List<FileUploadEntity>> getDirTasks() {
		return dirTasks;
	}
	public void setDirTasks(Map<String, List<FileUploadEntity>> dirTasks) {
		this.dirTasks = dirTasks;
	}
}
